package com.my.server1.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("server2")
public interface TestService {
    @RequestMapping("/s2/get")
    public String get(String id);
}
